﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using GH.BLL;
using System.Data;
namespace GH.Web.Welfare
{
    public partial class OrganizationSumirisePrint : BasePage.PageBase
    {
        #region 画面初始化

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                ReportOrganization bllReportOrganization = new ReportOrganization();
                string strWhere = "  1=1";
                if (Request.QueryString["RightsFlg"].ToString() == "Summary")
                {
                    //strWhere += " AND  会员基本信息.单位=" + this.Session["UnionSelect"].ToString();
                }
                else if (Request.QueryString["RightsFlg"].ToString() == "SELECT")
                {
                    strWhere += " AND  工会组织机构统计表.单位=" + this.Session["UnionSelect"].ToString();
                }
                DataSet dsRecord = bllReportOrganization.GetList(strWhere);
                rptList.DataSource = dsRecord;
                rptList.DataBind();
                //SetDataInit(strWhere);
            }

        }

       #endregion 画面初始化

       
    }
}
